﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class
{
    class IronNPC : NPC
    {
        private string create;
        private string name;
        public string Create
        {
            get { return this.create; }
            set { this.create = value; }
        }
       
        public override void Speak()
        {
            Console.WriteLine("NPC:{0},我这里有{1}，要打造吗？",base.Name, this.create);
        }
        public IronNPC (string name,NPCType type,string create):base(name,type)
        {
            this.create = create;
        }
    }
}
